package topology;

import ann.Edge;

public class OneToOne extends Topology{
	public OneToOne(){
		super();
	}
	
	public OneToOne(int size){
		super();
		setup(size,size);
	}

	public void setup(int fromSize, int toSize) {
		assert(fromSize==toSize);
		for(int i  = 0; i < fromSize; i++)
			edges.add(new Edge(i,i));
		ready = true;
	}

	public Topology clone() {
		return new OneToOne();
	}
}
